package com.zl.csMall.indexShow.vo;

import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @description: 商家端首页统计数据 实体
 * @author: ChenNing
 * @date 2025-10-22 17:33
 */
@Data
@ApiModel(description = "商家端首页 实体")
@JsonInclude(JsonInclude.Include.NON_NULL)
public class MerchantIndexDataVo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "访客数")
    private long visitorQuantity;

    @ApiModelProperty(value = "订单数")
    private long orderQuantity;

    @ApiModelProperty(value = "总商品数")
    private long commodityQuantity;

    @ApiModelProperty(value = "待发货数")
    private long toBeDispatchedQuantity;

    @ApiModelProperty(value = "待收货数")
    private long pendingReceiptQuantity;

    @ApiModelProperty(value = "已完成数")
    private long completedQuantity;

    public MerchantIndexDataVo() {
    }

    public MerchantIndexDataVo(long visitorQuantity, long orderQuantity, long commodityQuantity, long toBeDispatchedQuantity, long pendingReceiptQuantity, long completedQuantity) {
        this.visitorQuantity = visitorQuantity;
        this.orderQuantity = orderQuantity;
        this.commodityQuantity = commodityQuantity;
        this.toBeDispatchedQuantity = toBeDispatchedQuantity;
        this.pendingReceiptQuantity = pendingReceiptQuantity;
        this.completedQuantity = completedQuantity;
    }
}
